<?php
namespace app\admin\model\order;

use app\admin\model\user\User;
use app\common\traits\ModelCurd;
use think\Model;

class OrderModel extends Model
{
    protected $table='cp_order_list';
    protected $autoWriteTimestamp = true;
    use ModelCurd;

    public function user()
    {
        return $this->belongsTo(User::class,"user_id");
    }

}